package com.xuxueli.applyModules.entity;

import lombok.Data;

import java.io.Serializable;

/**
 * 定义一组键值对
 */
@Data
public final class KeyValuePair<K, V> implements Serializable {
    private static final long serialVersionUID = 42L;

    private K key;
    private V value;

    public KeyValuePair() {

    }

    public KeyValuePair(K k, V v) {
        this.key = k;
        this.value = v;
    }
}
